<script setup>
import {onMounted, ref, watch} from "vue";
import configStore from '../../store/modules/systemConfig.js'
// 获取小仓库对象
let config = configStore();

watch(config, (newValue, oldValue) => {
  config.toPersist();
})


onMounted(() => {
  // readConfig();
})

</script>

<template>
  <br/>
  <Row>
    <Col span="1.5">
      contentPath：
    </Col>
    <Col span="12">
      <Input v-model="config.contextPath" placeholder="key" style="width: 300px"/>
    </Col>
  </Row>
  <br/>
  <Row>
    <Col span="1.5">
      本地服务端口：
    </Col>
    <Col span="12">
      <Input v-model="config.port" placeholder="key" style="width: 300px"/>
    </Col>
  </Row>
  <br/>


</template>

<style scoped>

</style>